package com.cw.demo.websocket.enums;

/**
 * TODO
 *
 * @author chenw
 * @date 2021/1/11
 */
public enum EnumCmd {
    START("000", "连接成功"),
    WMESSAGE("001", "消息提醒"),
    ;
    private String code;
    private String desc;

    EnumCmd(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
